<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        li {
            list-style: none;
        }

        a {
            text-decoration: none;
            color: #fff;
        }


        .nav-common {
            width: 440px;
            height: 50px;

        }

        .nav-common ul {
            display: flex;
            flex-direction: row;
            height: 100%;
        }

        .nav-common li {
            width: 80px;
            height: 100%;
            background-color: #ff0000;
            text-align: center;
            line-height: 50px;
            margin-left: 5px;
        }

        .nav-common li:hover {
            background-color: #ffa500;
        }
    </style>
</head>

<body>
    <div class="nav-common">
        <ul>
            <li><a href="#">导航1</a></li>
            <li><a href="#">导航2</a></li>
            <li><a href="#">导航3</a></li>
            <li><a href="#">导航4</a></li>
            <li><a href="#">导航5</a></li>
        </ul>
    </div>
</body>

</html>